package com.liusha.quicksand.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 一世长安一世欢
 * @Date: 2020/10/18
 * @Time: 15:02
 * @Description: No Description
 */

@Controller
public class BlogNewsController {

    /*  网站消息页 */
    @GetMapping("/news")
    public String news() {

        return "news";
    }

    @GetMapping("/information/{comment}")
    public String newsComment(){

        return "information/comment";
    }

    @GetMapping("/information/{like}")
    public String newsLike(){

        return "information/like";
    }

    @GetMapping("/information/{favorites}")
    public String newsFavorites(){

        return "information/favorites";
    }

    @GetMapping("/information/{attention-1}")
    public String newsAttention(){

        return "information/attention-1";
    }

    @GetMapping("/information/{article}")
    public String newsArticle(){

        return "information/article";
    }
}
